/*
* 命名空间: Project.Model
*
* 功 能： T_Expenses实体类
*
* 类 名： T_ExpensesEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_Expenses")]
    public class T_ExpensesEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 20,DataLength = 20,DecimalDigits = 0,ColumnName = "ExNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ExNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "UserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 200,DataLength = 100,DecimalDigits = 0,ColumnName = "GetPerson",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string GetPerson
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "EMoney",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public decimal EMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 2000,DataLength = 1000,DecimalDigits = 0,ColumnName = "EContent",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string EContent
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "EDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? EDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "PayMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? PayMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "LoanMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? LoanMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "BackMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? BackMoney
        {
            get; set;
        }

        /// <summary>
        /// 报销发票的开票单位
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BusinessName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BusinessName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "TicketID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? TicketID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "TicketName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string TicketName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 2000,DataLength = 1000,DecimalDigits = 0,ColumnName = "TicketImage",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string TicketImage
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "TicketTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? TicketTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "TicketNum",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? TicketNum
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 200,DataLength = 100,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "Creater",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Creater
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CreaterNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CreaterNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 400,DataLength = 200,DecimalDigits = 0,ColumnName = "CardNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CardNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "CardMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? CardMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "TaxRateName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string TaxRateName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "TaxRateNum",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? TaxRateNum
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "TaxMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? TaxMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "Cost",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? Cost
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "MID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? MID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 200,DataLength = 100,DecimalDigits = 0,ColumnName = "MName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string MName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 200,DataLength = 100,DecimalDigits = 0,ColumnName = "HanderPerson",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string HanderPerson
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "HanderUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string HanderUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "PYM",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PYM
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 2,DataLength = 2,DecimalDigits = 0,ColumnName = "IsTicket",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string IsTicket
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "CheckUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "CheckUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CheckDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CheckDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "PayUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PayUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "PayUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PayUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "PayDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? PayDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "PayMethodID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? PayMethodID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "PayMethodName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PayMethodName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "FNO",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string FNO
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "ZTBS",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? ZTBS
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? IsDel
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "LBBM",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? LBBM
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "FFZT",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public int? FFZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "Step",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? Step
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "FlowNode",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? FlowNode
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ReviewUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ReviewUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ReviewUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ReviewUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ReviewZT",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? ReviewZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "ReviewDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? ReviewDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ConfirmUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ConfirmUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ConfirmUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ConfirmUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "ConfirmTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? ConfirmTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "UpdateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? UpdateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "UpdateUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UpdateUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "BackTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? BackTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BackUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BackUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BackUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BackUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 400,DataLength = 200,DecimalDigits = 0,ColumnName = "BackRmark",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BackRmark
        {
            get; set;
        }
    }
}
